<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:73:"D:\wamp\jun_bao_chi\public/../app/admin\view\systems\role_permission.html";i:1542793602;}*/ ?>
<!DOCTYPE >
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>订单列表</title>


<link rel="stylesheet" type="text/css" href="/system/css/right.css">
<script type="text/javascript" src="/system/js/jquery.js"></script>
<script type="text/javascript" src="/system/js/system.js"></script>
<script type="text/javascript" src="/system/js/admin.js"></script>
</head>
<body style="overflow: auto;">
	<div class="basic bor">
			<div class="title fl">当前位置：系统管理 > 权限编辑</div> 
	</div>

	 <!--   <a class="submit fr addnews" href="<?php echo url('Systems/role_edit'); ?>"  />添加权限</a>
    -->
<!-- 文章分类列表 -->
<div class="catelist">
    <div class="lists listsov">
    <dd>权限编辑</dd> 
    </div>

</div>
  <form action ="<?php echo url('Systems/edit_role_permission'); ?>" method="post" >
  <?php if(is_array($lists) || $lists instanceof \think\Collection || $lists instanceof \think\Paginator): $i = 0; $__LIST__ = $lists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$li): $mod = ($i % 2 );++$i;?>
  <li> <?php echo $li['category']; ?>::
     <?php if(is_array($li['child']) || $li['child'] instanceof \think\Collection || $li['child'] instanceof \think\Paginator): $i = 0; $__LIST__ = $li['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ll): $mod = ($i % 2 );++$i;?>
      <input type="checkbox" name ="permision_list[]" <?php if(($ll['ins']== 1)): ?>  checked <?php endif; ?> value = <?php echo $ll['id']; ?>> <?php echo $ll['name']; ?>--<?php echo $ll['ins']; endforeach; endif; else: echo "" ;endif; ?>
     </li>
     <br/>
  <?php endforeach; endif; else: echo "" ;endif; ?>
  <input type="hidden" name="sys_role_id" value="<?php echo isset($role_id)?$role_id:''; ?>"> 
  <input class="submit" type="submit" value="保存"> 
 </form>

  
</body>
</html>
